import { Button } from 'antd';
import React from 'react';
import { Outlet, useNavigate } from 'react-router-dom';

const Test3: React.FC = () => {
    const nav = useNavigate();
    return (
        <div>这个页面包含了一个不在侧边菜单的详情页面
            <Button onClick={() => nav("/test/detail")}>跳转详情子页</Button>
            <Outlet />
        </div>
    )
}

export default Test3;